﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="listado_form.aspx.cs" Inherits="SimuladorGastos.consejeria.listado_form" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>:: Scotiabank PERU ::</title>
    <script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="js/myJQ.js"></script>
   
    <script type="text/javascript" src="js/jquery.tools.min.js"></script>
    <script type="text/javascript" src="js/jquery.infieldlabel.min.js"></script> 
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
     <link rel="stylesheet" type="text/css" href="css/style_listado.css"/>
     <link rel="stylesheet" type="text/css" href="css/grid.css"/>
</head>
<body>
<div id="container">
    <form id="form1" runat="server">
    
    <asp:Label ID="mensaje2" runat="server" Text="Label"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="Button2"
        runat="server" Text="Cerrar sesión" onclick="Button2_Click1" /><br />
    
			
       <div id="Div1" class="f-left">  
        
        

        <asp:GridView ID="GridView1" runat="server"  AutoGenerateColumns="False" 
                AllowPaging="True"  OnPageIndexChanging = "GridView1_PageIndexChanging" PageSize="40"  >
        
        <Columns>
         <asp:BoundField DataField="idcodigo" HeaderText="Orden" ReadOnly="True" 
                SortExpression="idcodigo" ControlStyle-Width="15" >

<ControlStyle Width="15px"></ControlStyle>

            </asp:BoundField>
            <asp:BoundField DataField="email" HeaderText="Email" ReadOnly="True" 
                SortExpression="Email" ControlStyle-Width="15" >
<ControlStyle Width="15px"></ControlStyle>
            </asp:BoundField>
            <asp:BoundField DataField="nombre" HeaderText="Nombre" SortExpression="nombre" />
            <asp:BoundField DataField="apellido" HeaderText="Apellido" SortExpression="apellido" />
            <asp:BoundField DataField="telefono" HeaderText="Teléfono" SortExpression="telefono" />
            <asp:BoundField DataField="tipo" HeaderText="Sueño" SortExpression="tipo" />
             <asp:BoundField DataField="comentario" HeaderText="Comentario" SortExpression="comentario" />
        
 <asp:HyperLinkField    Text='Detalle' DataNavigateUrlFields="idcodigo" DataNavigateUrlFormatString="detalle.aspx?codt={0}" />
           
            <asp:HyperLinkField    Text='Eliminar' DataNavigateUrlFields="idcodigo" DataNavigateUrlFormatString="elim_reg.aspx?cod={0}" />
            
           
            
        

           
        </Columns>
         
        
        </asp:GridView>

        <span class="f-left" style="padding-top:10px">   <asp:Button ID="Button1" runat="server" Text="Descargar Xls" 
               onclick="Button1_Click"  /></span>
        
        
    </div>
    </form>
    
    </div>
    <script language="JavaScript" type="text/javascript" src="https://apps.scotiabank.com/inc/omnitureperu.js"></script> 
</body>
</html>
